<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			for (var a = 0; a <= 100; a++) {
				for (var b = 0; b <= 100; b++) {
					for (var c = 0; c <= 100; c++) {
						if ((a + b + c == 100) && (a * 5 + b * 3 + c / 3 == 100)) {
							document.write('公鸡、母鸡、小鸡的数量分别是：' + a + ',' + b + ',' + c + '<br/>');
						}
					}
				}
			};
			
		</script>
	</head>
	<body>
	</body>
</html>
